package modele;

import java.awt.Point;

public class PointIntersection  {

	
	
	
	
	private double X;
	private double Y;
	private int numEq1;
	private int numEq2;

	
	
	
	
	public PointIntersection(double x2, double y2) {
		X=x2;
		Y=y2;
	}

	public double getX() {
		return X;
	}

	public double getY() {
		return Y;
	}
	
	public String toString() {
		return "point ("+getX()+","+getY()+") inter("+this.getDroite1()+","+this.getDroite2()+")" ;
	}

	public void setDroites(int numEq1, int numEq2) {
		this.numEq1 = numEq1 ;
		this.numEq2 = numEq2 ;
	}
	
	public int getDroite1() {
		return numEq1 ;
	}
	public int getDroite2() {
		return numEq2 ;
	}
	
	
}




